package com.hecate.user.dto.user;

import com.hecate.user.dto.role.RoleDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

/**
 * @author 黄星星
 * @date 2020-08-24
 */
@ApiModel("用户详细信息")
public class UserDetailDTO extends UserDTO {

    @ApiModelProperty("用户角色列表")
    private List<RoleDTO> roleList;

    public UserDetailDTO(List<RoleDTO> roleList) {
        this.roleList = roleList;
    }
}
